import * as cuid from "cuid";
export default class ProductInfo {
  id: any;
  product_price: number;
  product_count: number;
  product_name: string;
  product_form: string;
  product_code: string;
  product_class_id: string;
  product_unit: string;
  product_subUnits: Array<{ name?: string, rate?: number }>
  unit_id: string;
  eachSaleAmt: number;
  eachSaleRemark: string;
  readonly: boolean;

  constructor() {
    this.id = cuid();
    this.product_subUnits = [];
  }
}